﻿
@{
    ViewData["Title"] = "ProcessTaskAdd";
    Layout = "~/Views/Home/Menu.cshtml";
}

<h1>工序任务添加</h1>
<form class="layui-form">
    <table>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">选择工单:</label>
                    <div class="layui-input-inline">
                        <select id="workOrder" name="workOrder" lay-verify="required">
                            <option value="0">选择工单</option>
                        </select>
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">任务编号:</label>
                    <div class="layui-input-inline">
                        <input type="text" name="taskMumber" id="taskMumber" placeholder="请填写仓库编号" autocomplete="off" class="layui-input" lay-verify="required">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">任务状态:</label>
                    <div class="layui-input-inline">
                        <select id="taskStatus" name="taskStatus" lay-verify="required">
                            <option value="1">未开始</option>
                            <option value="2">进行中</option>
                            <option value="4">已完成</option>
                        </select>
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">优先级:</label>
                    <div class="layui-input-inline">
                        <select id="priority" name="priority" lay-verify="required">
                            <option value="紧急">紧急</option>
                            <option value="不紧急">不紧急</option>
                        </select>
                     </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">生产批次:</label>
                    <div class="layui-input-inline">
                        <input type="text" name="productionLot" id="productionLot" placeholder="请填写仓库编号" autocomplete="off" class="layui-input" lay-verify="required">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">工序名称:</label>
                    <div class="layui-input-inline">
                        <input type="text" name="processName" id="processName" placeholder="请填写仓库编号" autocomplete="off" class="layui-input" lay-verify="required">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">成品编号:</label>
                    <div class="layui-input-inline">
                        <input type="text" name="finishedNumber" id="finishedNumber" placeholder="请填写仓库编号" autocomplete="off" class="layui-input" lay-verify="required">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">规格型号:</label>
                    <div class="layui-input-inline">
                        <input type="text" name="specifications" id="specifications" placeholder="请填写仓库编号" autocomplete="off" class="layui-input" lay-verify="required">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">尺寸:</label>
                    <div class="layui-input-inline">
                        <input type="text" name="size" id="size" placeholder="请填写仓库编号" autocomplete="off" class="layui-input" lay-verify="required">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">单位:</label>
                    <div class="layui-input-inline">
                        <input type="text" name="unit" id="unit" placeholder="请填写仓库编号" autocomplete="off" class="layui-input" lay-verify="required">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="demo-login">添加</button>
                        <button type="reset" class="layui-btn layui-btn-primary">取消</button>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</form>
<script src="~/js/processtask/processtaskadd.js"></script>

